<?php
/**
 * 忘记密码
 */
namespace app\store\controllers;

use App\store\controllers\StoreBaseController;
use Illuminate\Http\Request;
use Tymon\JWTAuth\Facades\JWTAuth;
use Illuminate\Support\Facades\Auth;

class ForgotPasswordController extends StoreBaseController
{
    protected $user = '';
    public function __construct(Request $request) {
        $user = self::current_user($request);
        if (!$user){
            jsonEncode();
        }
        $this->user = $user;
    }

    public function index()
    {
        $data = [];
        return successJson($data);
    }


    /**
     * 修改密码
     *
     * @return \Illuminate\Http\JsonResponse
     */
    public function modify(Request $request)
    {
        $msg = '密码修改成功';

        return successJson($msg);
    }


}

